package com.bxs.global;

public enum ResponseType {

    SUCCESS(200, "success"),
    ERROR(500, "server error"),
    PARAM_ERROR(400, "input param error");

    private Integer code;
    private String desc;

    ResponseType(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
